<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>uCXpresso.BLE: Console Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../upnp.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">uCXpresso.BLE
   &#160;<span id="projectnumber">v1.0.4</span>
   </div>
   <div id="projectbrief">RTOS C++ Framework for Bluetooth Low Energy</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="../../hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d6/d56/class_console.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d7/d45/class_console-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Console Class Reference<div class="ingroups"><a class="el" href="../../d8/d7e/group___miscellaneous.html">Miscellaneous</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="../../d6/d56/class_console.html" title="The Console class provides a lightweight input/output stream to console. ">Console</a> class provides a lightweight input/output stream to console.  
 <a href="../../d6/d56/class_console.html#details">More...</a></p>

<p><code>#include &quot;<a class="el" href="../../d0/de3/console_8h_source.html">class/console.h</a>&quot;</code></p>
<div class="dynheader">
Inheritance diagram for Console:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../d6/d56/class_console.png" usemap="#Console_map" alt=""/>
  <map id="Console_map" name="Console_map">
<area href="../../de/db4/class_c_small_printf.html" alt="CSmallPrintf" shape="rect" coords="0,56,81,80"/>
<area href="../../dc/dac/class_c_object.html" alt="CObject" shape="rect" coords="0,0,81,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8374ffffac8edeaa0775bdd1923bdc10"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a8374ffffac8edeaa0775bdd1923bdc10">Console</a> (<a class="el" href="../../d4/d16/class_c_stream.html">CStream</a> &amp;io)</td></tr>
<tr class="separator:a8374ffffac8edeaa0775bdd1923bdc10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a855191be30cd0e1eeaea2d6ab7cda03b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a855191be30cd0e1eeaea2d6ab7cda03b">isConnected</a> ()</td></tr>
<tr class="separator:a855191be30cd0e1eeaea2d6ab7cda03b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78bb22aa6e31673a5675986c9c5e3529"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a78bb22aa6e31673a5675986c9c5e3529">echo</a> (bool set)</td></tr>
<tr class="separator:a78bb22aa6e31673a5675986c9c5e3529"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61f9d57ebeecfd8553f02a84b4939e69"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a61f9d57ebeecfd8553f02a84b4939e69">clear</a> ()</td></tr>
<tr class="separator:a61f9d57ebeecfd8553f02a84b4939e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1427b8f1d904381c49188a1f8d8da083"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a1427b8f1d904381c49188a1f8d8da083">putchar</a> (int ch)</td></tr>
<tr class="separator:a1427b8f1d904381c49188a1f8d8da083"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a404cc62475ef74f818d9102bdde09584"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a404cc62475ef74f818d9102bdde09584">getchar</a> ()</td></tr>
<tr class="separator:a404cc62475ef74f818d9102bdde09584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a229393c4d71b47cb68d30397d5de1e"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a0a229393c4d71b47cb68d30397d5de1e">putstr</a> (LPCTSTR str)</td></tr>
<tr class="separator:a0a229393c4d71b47cb68d30397d5de1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab28b81a0b1e462ec0df65ba0a573921f"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#ab28b81a0b1e462ec0df65ba0a573921f">getstr</a> (LPTSTR strbuf, size_t size)</td></tr>
<tr class="separator:ab28b81a0b1e462ec0df65ba0a573921f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ff57fe349e1335039230e14b9fc0cb1"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a3ff57fe349e1335039230e14b9fc0cb1">write</a> (const void *buf, int size)</td></tr>
<tr class="separator:a3ff57fe349e1335039230e14b9fc0cb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10df5763117e36da9f029d1dfa9641be"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a10df5763117e36da9f029d1dfa9641be">read</a> (void *buf, int size)</td></tr>
<tr class="separator:a10df5763117e36da9f029d1dfa9641be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80d540e36c5522b8653359e1e4d6839"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#ae80d540e36c5522b8653359e1e4d6839">operator&gt;&gt;</a> (char &amp;ch)</td></tr>
<tr class="separator:ae80d540e36c5522b8653359e1e4d6839"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33c9beff5456efdd13209b8321df1a74"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a33c9beff5456efdd13209b8321df1a74">operator&gt;&gt;</a> (uint8_t &amp;b)</td></tr>
<tr class="separator:a33c9beff5456efdd13209b8321df1a74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc5355f4c4fee0a91c4ba5ae6647f07d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#afc5355f4c4fee0a91c4ba5ae6647f07d">operator&lt;&lt;</a> (TCHAR ch)</td></tr>
<tr class="separator:afc5355f4c4fee0a91c4ba5ae6647f07d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa05d7169f95dc3a36b11a291e35c84ae"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#aa05d7169f95dc3a36b11a291e35c84ae">operator&lt;&lt;</a> (LPCTSTR str)</td></tr>
<tr class="separator:aa05d7169f95dc3a36b11a291e35c84ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01e2cf3bdbb5ff14689a8858e12da5ad"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a01e2cf3bdbb5ff14689a8858e12da5ad">operator&lt;&lt;</a> (int val)</td></tr>
<tr class="separator:a01e2cf3bdbb5ff14689a8858e12da5ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaabaa6205705e13193e472a4cf7f194"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#adaabaa6205705e13193e472a4cf7f194">operator&lt;&lt;</a> (float val)</td></tr>
<tr class="separator:adaabaa6205705e13193e472a4cf7f194"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab765a1b1954e26b2cb725dc49c35fdeb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#ab765a1b1954e26b2cb725dc49c35fdeb">operator&lt;&lt;</a> (double val)</td></tr>
<tr class="separator:ab765a1b1954e26b2cb725dc49c35fdeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a756e1e290f184491bf98dfaa1247fff7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a756e1e290f184491bf98dfaa1247fff7">operator&lt;&lt;</a> (size_t val)</td></tr>
<tr class="separator:a756e1e290f184491bf98dfaa1247fff7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1da129a9f12eff89f82fc694bdc59231"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a1da129a9f12eff89f82fc694bdc59231">operator&lt;&lt;</a> (uint16_t val)</td></tr>
<tr class="separator:a1da129a9f12eff89f82fc694bdc59231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2d3cf94e3a31436681cc0839b760a75"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#ad2d3cf94e3a31436681cc0839b760a75">operator&lt;&lt;</a> (uint32_t val)</td></tr>
<tr class="separator:ad2d3cf94e3a31436681cc0839b760a75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b13c2318c5e62763b679c190223de54"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#a0b13c2318c5e62763b679c190223de54">operator&lt;&lt;</a> (uint8_t val)</td></tr>
<tr class="separator:a0b13c2318c5e62763b679c190223de54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5d1ad55ac69f1173f610d7c75793a6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#aed5d1ad55ac69f1173f610d7c75793a6">operator&lt;&lt;</a> (CONSOLE_CTRL_T ctrl)</td></tr>
<tr class="separator:aed5d1ad55ac69f1173f610d7c75793a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4d21815c5cbc33e9015ba5babf5bf09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/d16/class_c_stream.html">CStream</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#ad4d21815c5cbc33e9015ba5babf5bf09">iStream</a> ()</td></tr>
<tr class="separator:ad4d21815c5cbc33e9015ba5babf5bf09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6941f3b8ce87a9e53f58c5a74936d49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/d16/class_c_stream.html">CStream</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d56/class_console.html#af6941f3b8ce87a9e53f58c5a74936d49">oStream</a> ()</td></tr>
<tr class="separator:af6941f3b8ce87a9e53f58c5a74936d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6213c847987bc1cf18b980619ca49db7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/db4/class_c_small_printf.html#a6213c847987bc1cf18b980619ca49db7">printf</a> (LPCTSTR format,...)</td></tr>
<tr class="separator:a6213c847987bc1cf18b980619ca49db7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a651d3546ffbbe986fbbbf4bb1043bb7b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/db4/class_c_small_printf.html#a651d3546ffbbe986fbbbf4bb1043bb7b">printf</a> (LPCTSTR format, va_list args)</td></tr>
<tr class="separator:a651d3546ffbbe986fbbbf4bb1043bb7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a158dc1f45a1f19c8edd63e22544c30cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/db4/class_c_small_printf.html#a158dc1f45a1f19c8edd63e22544c30cc">putv</a> (int val)</td></tr>
<tr class="separator:a158dc1f45a1f19c8edd63e22544c30cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4396d279d38afdf4fd71514760b6ace3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/db4/class_c_small_printf.html#a4396d279d38afdf4fd71514760b6ace3">putv</a> (unsigned val)</td></tr>
<tr class="separator:a4396d279d38afdf4fd71514760b6ace3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9158226f537c34067bf2e6a7c25d3f8b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/db4/class_c_small_printf.html#a9158226f537c34067bf2e6a7c25d3f8b">putv</a> (double val)</td></tr>
<tr class="separator:a9158226f537c34067bf2e6a7c25d3f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26a76c241a4d62d2efdac57d2cfe4c0f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dac/class_c_object.html#a26a76c241a4d62d2efdac57d2cfe4c0f">isThread</a> ()</td></tr>
<tr class="separator:a26a76c241a4d62d2efdac57d2cfe4c0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="../../d6/d56/class_console.html" title="The Console class provides a lightweight input/output stream to console. ">Console</a> class provides a lightweight input/output stream to console. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8374ffffac8edeaa0775bdd1923bdc10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Console::Console </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d4/d16/class_c_stream.html">CStream</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructs a console object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">io</td><td>is a <a class="el" href="../../d4/d16/class_c_stream.html">CStream</a> object to provide the input/output stream.</td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line">Example:</div>
<div class="line">        <a class="code" href="../../d8/d1d/class_c_serial.html">CSerial</a> cdc(USB);       <span class="comment">// create an USB serial stream object.</span></div>
<div class="line">        <a class="code" href="../../d6/d56/class_console.html">Console</a> con(cdc);       <span class="comment">// create a console by the USB stream.</span></div>
<div class="line"></div>
<div class="line">        <span class="keywordflow">if</span> ( con.isConnected() ) {</div>
<div class="line">            con &lt;&lt; <span class="stringliteral">&quot;Hello World&quot;</span> &lt;&lt; endl;</div>
<div class="line">        }</div>
</div><!-- fragment --> 
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a61f9d57ebeecfd8553f02a84b4939e69"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Console::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to clear the screen of console. </p>

</div>
</div>
<a class="anchor" id="a78bb22aa6e31673a5675986c9c5e3529"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Console::echo </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to enable or disable the echo. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>is a boolean value, set true to enable the echo. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a404cc62475ef74f818d9102bdde09584"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Console::getchar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to get a character from the serial stream of console. </p>
<dl class="section return"><dt>Returns</dt><dd>the received character. </dd></dl>

</div>
</div>
<a class="anchor" id="ab28b81a0b1e462ec0df65ba0a573921f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Console::getstr </td>
          <td>(</td>
          <td class="paramtype">LPTSTR&#160;</td>
          <td class="paramname"><em>strbuf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to get a string from the serial stream of console. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">strbuf</td><td>is a string pointer where the string stored. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>is a size_t to represent the size of strbuf to be read. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the how many characters received. </dd></dl>

</div>
</div>
<a class="anchor" id="a855191be30cd0e1eeaea2d6ab7cda03b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Console::isConnected </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to check the stream is ready to read (or write).</p>
<div class="fragment"><div class="line">Example:</div>
<div class="line">        <a class="code" href="../../d8/d1d/class_c_serial.html">CSerial</a> cdc(USB);       <span class="comment">// create an USB serial stream object.</span></div>
<div class="line">        <a class="code" href="../../d6/d56/class_console.html">Console</a> con(cdc);       <span class="comment">// create a console by the USB stream.</span></div>
<div class="line"></div>
<div class="line">        <span class="keywordflow">if</span> ( con.isConnected() ) {</div>
<div class="line">            con &lt;&lt; <span class="stringliteral">&quot;Hello World&quot;</span> &lt;&lt; endl;</div>
<div class="line">        }</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="a26a76c241a4d62d2efdac57d2cfe4c0f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool CObject::isThread </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Check current object that inherits from <a class="el" href="../../d0/d26/class_c_thread.html">CThread</a> class or not. </p>
<dl class="section note"><dt>Note</dt><dd>The isTherad() will be override by <a class="el" href="../../d0/d26/class_c_thread.html">CThread</a> class. </dd></dl>

<p>Reimplemented in <a class="el" href="../../d0/d26/class_c_thread.html#ab2513fd0fcad30e2e6605609c91f1984">CThread</a>.</p>

</div>
</div>
<a class="anchor" id="ad4d21815c5cbc33e9015ba5babf5bf09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d16/class_c_stream.html">CStream</a>* Console::iStream </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to retrieve the input stream. </p>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="../../d4/d16/class_c_stream.html">CStream</a> object for input. </dd></dl>

</div>
</div>
<a class="anchor" id="afc5355f4c4fee0a91c4ba5ae6647f07d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">TCHAR&#160;</td>
          <td class="paramname"><em>ch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a character to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this.</dd></dl>
<div class="fragment"><div class="line">Example:</div>
<div class="line">        con &lt;&lt; <span class="charliteral">&#39;?&#39;</span> &lt;&lt; <span class="stringliteral">&quot;Whate is it this year? &quot;</span> &lt;&lt; 2012 &lt;&lt; endl;</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="aa05d7169f95dc3a36b11a291e35c84ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a string to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this.</dd></dl>
<div class="fragment"><div class="line">Example:</div>
<div class="line">        con &lt;&lt; <span class="charliteral">&#39;?&#39;</span> &lt;&lt; <span class="stringliteral">&quot;Whate is it this year? &quot;</span> &lt;&lt; 2012 &lt;&lt; endl;</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="a01e2cf3bdbb5ff14689a8858e12da5ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a integer value to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this.</dd></dl>
<div class="fragment"><div class="line">Example:</div>
<div class="line">        con &lt;&lt; <span class="charliteral">&#39;?&#39;</span> &lt;&lt; <span class="stringliteral">&quot;Whate is it this year? &quot;</span> &lt;&lt; 2012 &lt;&lt; endl;</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="adaabaa6205705e13193e472a4cf7f194"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a float value to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this. </dd></dl>

</div>
</div>
<a class="anchor" id="ab765a1b1954e26b2cb725dc49c35fdeb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a double value to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this. </dd></dl>

</div>
</div>
<a class="anchor" id="a756e1e290f184491bf98dfaa1247fff7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a size_t value to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this; </dd></dl>

</div>
</div>
<a class="anchor" id="a1da129a9f12eff89f82fc694bdc59231"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a unsigned integer 16 bits value to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this. </dd></dl>

</div>
</div>
<a class="anchor" id="ad2d3cf94e3a31436681cc0839b760a75"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0b13c2318c5e62763b679c190223de54"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a unsigned integer 8 bits value to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this. </dd></dl>

</div>
</div>
<a class="anchor" id="aed5d1ad55ac69f1173f610d7c75793a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d6/d56/class_console.html">Console</a>&amp; Console::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">CONSOLE_CTRL_T&#160;</td>
          <td class="paramname"><em>ctrl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for write a control operator to console. </p>
<dl class="section return"><dt>Returns</dt><dd>*this;</dd></dl>
<div class="fragment"><div class="line">Example:</div>
<div class="line">        con &lt;&lt; <span class="charliteral">&#39;?&#39;</span> &lt;&lt; <span class="stringliteral">&quot;Whate is it this year? &quot;</span> &lt;&lt; 2012 &lt;&lt; endl;</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="ae80d540e36c5522b8653359e1e4d6839"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Console::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">char &amp;&#160;</td>
          <td class="paramname"><em>ch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for read a character.</p>
<div class="fragment"><div class="line">Examle:</div>
<div class="line">        <span class="keywordtype">char</span> c;</div>
<div class="line">        con &gt;&gt; c;</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="a33c9beff5456efdd13209b8321df1a74"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Console::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">uint8_t &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A shorthand for read a byte value.</p>
<div class="fragment"><div class="line">Example:</div>
<div class="line">        byte c;</div>
<div class="line">        con &gt;&gt; c;</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="af6941f3b8ce87a9e53f58c5a74936d49"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d16/class_c_stream.html">CStream</a>* Console::oStream </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to retrieve the output stream. </p>
<dl class="section return"><dt>Returns</dt><dd>a CStrea object for output. </dd></dl>

</div>
</div>
<a class="anchor" id="a6213c847987bc1cf18b980619ca49db7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int CSmallPrintf::printf </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a651d3546ffbbe986fbbbf4bb1043bb7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int CSmallPrintf::printf </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">va_list&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1427b8f1d904381c49188a1f8d8da083"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Console::putchar </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to put a character to the serial stream of console. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>is a integer value of character. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the same value, if put a character successful; </dd></dl>

</div>
</div>
<a class="anchor" id="a0a229393c4d71b47cb68d30397d5de1e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Console::putstr </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to put a string to console. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">str</td><td>is a string pointer to be written. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the how many character sent. </dd></dl>

</div>
</div>
<a class="anchor" id="a158dc1f45a1f19c8edd63e22544c30cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int CSmallPrintf::putv </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4396d279d38afdf4fd71514760b6ace3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int CSmallPrintf::putv </td>
          <td>(</td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9158226f537c34067bf2e6a7c25d3f8b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int CSmallPrintf::putv </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a10df5763117e36da9f029d1dfa9641be"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Console::read </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to read a block buffer from the serial stream of console. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>is a pointer to a block data where the content read will be stored. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>is integer value to represent the size of block to be read. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the how many byte to be read. </dd></dl>

</div>
</div>
<a class="anchor" id="a3ff57fe349e1335039230e14b9fc0cb1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Console::write </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Call the member function to write a block buffer to the serial stream of console. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">buf</td><td>is a pointer to a block data with the content to be written. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>is a integer value to specified the size of block to write. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the how many bytes to write. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/d56/class_console.html">Console</a></li>
    <li class="footer">Generated on Fri Apr 11 2014 23:43:26 for uCXpresso.BLE by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
